-- GENERATED SPELL FOR [Dark Strand Fanatic] --


function spell0_2336(pUnit, Event) --@Curse of Mending,n/a--
pUnit:FullCastSpellOnTarget(7098,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2336', 2000, 1)
end

function Sorts_2336(pUnit, Event)
local choix_sorts_2336 = math.random(0, 0)
if choix_sorts_2336 == 0 then
pUnit:RegisterEvent('spell0_2336', 1, 1)
end
end

function mob2336_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2336', math.random(1500, 3000), 1)
end

function mob2336_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2336_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2336_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2336, 1, 'mob2336_Action')
RegisterUnitEvent(2336, 2, 'mob2336_Leave')
RegisterUnitEvent(2336, 3, 'mob2336_Kill')
RegisterUnitEvent(2336, 4, 'mob2336_Die')
